package middle

import "gitee.com/wcs2/common/enums"

type TlActionTypeStruct struct {
	SEND       enums.PositionEnum
	RECEIVE    enums.PositionEnum
	GOODS_LOAD enums.PositionEnum
	AGV_LOAD   enums.PositionEnum
	EMPTY_LOAD enums.PositionEnum
	LOCKED     enums.PositionEnum
	UNLOCKED   enums.PositionEnum
	QUALIFIED  enums.PositionEnum
}

// 输送线动作枚举
var TlActionTypeEnum = &TlActionTypeStruct{
	SEND: enums.PositionEnum{
		Code:    "SEND",
		Des:     "送箱动作",
		PlcCode: 2,
	}, RECEIVE: enums.PositionEnum{
		Code:    "RECEIVE",
		Des:     "接箱动作",
		PlcCode: 1,
	}, GOODS_LOAD: enums.PositionEnum{
		Code:    "GOODS_LOAD",
		Des:     "载货",
		PlcCode: 1,
	}, AGV_LOAD: enums.PositionEnum{
		Code:    "AGV_LOAD",
		Des:     "载车",
		PlcCode: 2,
	}, EMPTY_LOAD: enums.PositionEnum{
		Code:    "EMPTY_LOAD",
		Des:     "空载",
		PlcCode: 3,
	}, LOCKED: enums.PositionEnum{
		Code:    "LOCKED",
		Des:     "锁定",
		PlcCode: 3,
	}, UNLOCKED: enums.PositionEnum{
		Code:    "UNLOCKED",
		Des:     "解锁",
		PlcCode: 4,
	}, QUALIFIED: enums.PositionEnum{
		Code:    "QUALIFIED",
		Des:     "验收评定",
		PlcCode: 5,
	},
}
